* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html,
body {
    background: #C4F185;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.calendar {
    background-image: linear-gradient(135deg, #92FFC0 10%, #002661 100%);
    width: 400px;
    height: 450px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 1.5em;
    z-index: 1;
}

.calendar .header {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2em;
    color: #FFFFFF;
    font-size: 0.7em;
}

.calendar .header h1 {
    line-height: 1em;
}

.back-today {
    color: #40fcdc;
    cursor: pointer;
    position: absolute;
    font-size: 12px;
    top: 535px;
    left: 635px;
}

.bookkeeping {
    background-image: linear-gradient(105deg, #92FFC0 10%, #002661 90%);
    width: 350px;
    height: 415px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    position: relative;
    /* scale：缩放，translateX：水平移动 */
    transform: scale(0.95) translateX(-10px);
    /* 堆叠顺序 */
    z-index: 0;
}

.bookkeeping .list {
    height: 351px;
    overflow-y: scroll;
    padding: 1em;
}

.bookkeeping .list ul {
    padding: 2.25em;
}

.calendar_right .list li {
    padding: 1em;
    width: 180px;
    color: #FFFFFF;
    transform: translateX(-700px);
}

.bookkeeping .list .description {
    font-size: 12px;
}

.bookkeeping .message {
    font-size: 17px;

}

.message .count, .message .total {
    color: red;
}

.bookkeeping form {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
}

/* 记账框 */
.bookkeeping input {
    background: #68C9F0;
    border: none;
    padding: 1.2em;
    flex: 2;
    outline: none;
    color: #FFFFFF;
    /* border-bottom-right-radius: 10px; */
    appearance: none;
}


/* ---------------------局部细节--------------------- */


.days {
    display: flex;
    justify-content: flex-start;
    width: 400px;
}

.days .day_item {
    color: #FFFFFF;
    width: 50px;
    text-align: center;
    padding-bottom: 1em;
}

.dates {
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
    width: 350px;
}

.dates .date_item {
    color: #FFFFFF;
    width: 50px;
    text-align: center;
    height: 50px;
    padding: 1em;
    cursor: pointer;
    border-radius: 100%;
}

/* 当前焦点位置 */
.present {
    background: #f8f3ff;
    /* 缩放 */
    transform: scale(0.7);
    border-radius: 50px;
    padding: 0.95em !important;
    color: #000000 !important;
    font-weight: bold;
    z-index: 0;
    box-shadow: 10px 10px 5px #b5c1c2;
    animation: bounce-button-in 0.45s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

::-webkit-scrollbar {
    display: none;
}

::-webkit-input-placeholder {
    color: #FFFFFF;
}


/* 鼠标移入动画 */
.jump {
    animation: bcombig 2s 0s;
}

@keyframes bcombig {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* 点击动画 */
@keyframes bounce-button-in {
    0% {
        transform: translateZ(0) scale(0);
    }

    100% {
        transform: translateZ(0) scale(0.7);
    }
}